package cn.bugio.task01.service.impl;

import cn.bugio.task01.dao.UserDao;
import cn.bugio.task01.service.UserService;

/**
 * <h1></h1>
 *
 * @version 1.0
 * @author: Vincent Vic
 * @since: 2021/09/08
 */
public class UserServiceImpl implements UserService {
    private final UserDao userDao;

    public UserServiceImpl(UserDao userDao) {
        this.userDao = userDao;
    }


    @Override
    public void say() {
        userDao.say();
        System.out.println("hello service");
    }
}
